Fast Firewall Implementations for Software-based Routers
نویسندگان
چکیده
Routers must perform packet classi cation at high speeds to e ciently implement functions such as rewalls. The classi cation can be based on an arbitrary number of pre x and range elds in the packet header. The classi cation required for rewalls is beyond the capabilities o ered by standard Operating System classi ers such as BPF [12], DPF [7], PathFinder [1] and others. In fact, there are theoretical results that show the general rewall classi cation problem has poor worst case cost: for searching over N arbitrary lters using k packet elds, either the worst-case search time is ((logN) ) or the worstcase storage is O(N). In this paper, we re-examine two basic mechanisms that have been dismissed in the literature as being too ine cient: backtracking search and set pruning trees. We nd using real databases that the time for backtracking search is much better than the worst case bound; instead of ((logN) ), the search time is only roughly twice the optimal search time. Similarly, we nd that set pruning trees (using a DAG optimization) have much better storage costs than the worst case bound; it has memory requirements similar to the RFC scheme of Gupta and McKeown [10]. We also propose several new techniques to further improve the two basic mechanisms. Our major ideas are a novel compression algorithm, the ability to trade smoothly between backtracking and set pruning, and algorithms to e ectively make use of hardware if hardware is available. We quantify the performance gain of each technique using real databases. We show that on real rewall databases our schemes, with the accompanying optimizations, are close to optimal in time and storage.
منابع مشابه
Fast Firewall Implementations for Software and Hardware-Based Routers
Routers must perform packet classification at high speeds to efficiently implement functions such as firewalls and diffserv. Classification can be based on an arbitrary number of fields in the packet header. Performing classification quickly on an arbitrary number of fields is known to be difficult, and has poor worst-case complexity. In this paper, we re-examine two basic mechanisms that have ...
متن کاملA FreeBSD-Based Low-Cost Broadband VPN Router for a Telemedicine Application
The author developed a small low cost broadband networking router using FreeBSD to support a telemedicine application. Our router design provides IPsec based virtual private networking (VPN) and quality of service (QoS) arrangements, simultaneously supporting two-way real-time video and audio, camera control, streaming video replay and medical record access over the public Internet using Cable-...
متن کاملImproving user privacy with firewall techniques on the wireless LAN access point
Wireless Local Area Networks (WLANs) for public access need to provide privacy between users and also ensure correct charging where access is based on payment. However, by design, conventional LANs and WLANs provide direct, unmediated communications between networked devices at the link layer. The paper presents a method to allow networked client devices to communicate with a network comprising...
متن کاملTowards Low Latency Software Routers
Network devices based on commodity hardware are capable of high-speed packet processing while maintaining the programmability and extensibility of software. Thus, software-based network devices, like software routers, software-based firewalls, or monitoring systems, constitute a cost-efficient and flexible alternative to expensive, special purpose hardware. The overall packet processing perform...
متن کاملA Tool for Building Firewall-Router Configurations
Several commercial firewall solutions are currently available, but they may not be appropriate for all situations because of their expense, lack of flexibility, or lack of scalability. Instead, many firewalls are built using packet-filtering routers. One big impediment to building router-based firewalls is how poorly the configuration languages used to describe the proper operation of the route...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2001